<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<%@page import="com.yaodian100.mall.member.util.UserData"%>
<%@page import="com.yaodian100.mall.channel.web.ChannelTool"%><script type="text/javascript" charset="UTF-8" src="/js/jquery.cookie.js"></script>
<script language="javascript">
	$().ready(function(){
		//$.cookie("LTINFO", null, { expires: 0, path: '/', domain: '.com', secure: true });
		//$.cookie("LTINFO", null, { expires: 0, path: '/', domain: 'ellen.yaodian100.com', secure: true });
		//$.cookie("LTINFO", null, { expires: 0, path: '/', domain: '.yaodian100.com', secure: true });
		//$.cookie('LTINFO', '', { expires: -1 });
		//$.cookie('LTINFO', null);
	});
	</script>
<%
  String sbCon=(String)request.getAttribute("sbCon");
	String lt_p_cd="";
	String lt_it_cnt="";	
	String lt_price="";
	String lt_c_cd="";
	String lt_o_cd="";

	lt_o_cd   	= lt_o_cd   + "||" + "";
	lt_p_cd   	= lt_p_cd   + "||" + "";
	lt_it_cnt   = lt_it_cnt + "||" + "";
	lt_price  	= lt_price  + "||" + "";
	lt_c_cd  	= lt_c_cd   + "||" + "";

	lt_o_cd   	= lt_o_cd.substring(2);
	lt_p_cd   	= lt_p_cd.substring(2);
	lt_it_cnt 	= lt_it_cnt.substring(2);
	lt_price  	= lt_price.substring(2);
	lt_c_cd   	= lt_c_cd.substring(2);

	UserData userData = new UserData(request, response);
	
	String lt_user_id	= "merchant_user_id";
	String lt_user_name	= "merchant_user_name";
	String merchant_id	= userData.getChChild().get("m_id");

	String ltinfo = new ChannelTool().getEspnstarLtinfo(userData);
	String lt_log= "";
	String lt_output= "";
	if(ltinfo.length()>0)
	{
		if(sbCon.length()>0){
		  lt_log = "http://service.linktech.cn/purchase_cps.php?a_id=" + ltinfo;
		  lt_log = lt_log + "&m_id=" + merchant_id+sbCon;
		  lt_output = "<script src='" + lt_log +  "'></script>";  
		  out.write(lt_output);
		}
	  //out.write(lt_log);
	  
	  
	    //Cookie c = new Cookie("LTINFO", "");
		//c.setVersion(0);
		//c.setPath("/");
		//c.setDomain(".com");
		//c.setMaxAge(0); // A zero value causes the cookie to be deleted.
		//response.addCookie(c);
		
		//c.setVersion(0);
		//c.setPath("/");
		//c.setDomain(".yaodian100.com");
		//c.setMaxAge(0); // A zero value causes the cookie to be deleted.
		//response.addCookie(c);
	
		//c.setVersion(0);
		//c.setPath("/");
		//c.setDomain("elln.yaodian100.com");
		//c.setMaxAge(0); // A zero value causes the cookie to be deleted.
		//response.addCookie(c);
		
		//for(int i=0;i<cookies.length;i++){
		//out.write(cookies[i].getValue());	
		//}
	}
	
	
%> 